package com.ruoyi.workSafetyStandardization.service;

import java.util.List;
import com.ruoyi.workSafetyStandardization.domain.InspectionTeamMembers;
import com.ruoyi.workSafetyStandardization.dto.inspection.MajorDto;

/**
 * 考核评委组人员Service接口
 *
 * @author pengjie
 * @date 2023-12-18
 */
public interface IInspectionTeamMembersService
{
    /**
     * 查询考核评委组人员
     *
     * @param inspectionMemberId 考核评委组人员主键
     * @return 考核评委组人员
     */
    public InspectionTeamMembers selectInspectionTeamMembersByInspectionMemberId(String inspectionMemberId);

    /**
     * 查询考核评委组人员列表
     *
     * @param inspectionTeamMembers 考核评委组人员
     * @return 考核评委组人员集合
     */
    public List<InspectionTeamMembers> selectInspectionTeamMembersList(InspectionTeamMembers inspectionTeamMembers);

    /**
     * 新增考核评委组人员
     *
     * @param inspectionTeamMembers 考核评委组人员
     * @return 结果
     */
    public int insertInspectionTeamMembers(InspectionTeamMembers inspectionTeamMembers);

    /**
     * 修改考核评委组人员
     *
     * @param inspectionTeamMembers 考核评委组人员
     * @return 结果
     */
    public int updateInspectionTeamMembers(InspectionTeamMembers inspectionTeamMembers);

    /**
     * 批量删除考核评委组人员
     *
     * @param inspectionMemberIds 需要删除的考核评委组人员主键集合
     * @return 结果
     */
    public int deleteInspectionTeamMembersByInspectionMemberIds(String[] inspectionMemberIds);

    /**
     * 删除考核评委组人员信息
     *
     * @param inspectionMemberId 考核评委组人员主键
     * @return 结果
     */
    public int deleteInspectionTeamMembersByInspectionMemberId(String inspectionMemberId);

    /**
     * 通过inspectionId查找评委组人员信息
     *
     * @param inspectionId 考核汇总主键
     * @return 结果
     */
    List<InspectionTeamMembers> queryLeaderListByInspectionId(String inspectionId);

    List<InspectionTeamMembers> queryLeaderListByInspectionIdAndMajorId(MajorDto it);
}
